<div id="content_contact">
	
	<form 	action="<?php echo $this->url(array('controller' => 'contact', 'action' => 'prc-contact'), null, true); ?>"
			method="post"
			id="contact_form">
		
		<label for="firstname">Prénom :</label>
		<input type="text" id="firstname" name="firstname" value="" class="required" class="required" />
		<br />
		
		<label for="lastname">Nom :</label>
		<input type="text" id="lastname" name="lastname" value="" class="required" class="required" />
		<span class="annotation">(1)</span>
		<br />
		
		<?php if($this->is_logged) { ?>
			<input type="hidden" name="email" value="<?php echo $this->user['email']; ?>" />
			
		<?php } else { ?>
			<label for="email">Email :</label>
			<input type="text" id="email" name="email" class="required" value="" class="required email" />
			<br />
			
		<?php } ?>
		
		<label for="subject">Sujet du message</label>
		<select id="subject" name="subject" class="required">
			<option value="">Choisir ...</option>
			<?php foreach($this->contact_subjects as $s) { ?>
				<option value="<?php echo $s['id']; ?>"><?php echo $s['name']; ?></option>			
			<?php } ?>
		</select>
		<br />
		
		<label for="object">Objet :</label>
		<input type="text" id="object" name="object" class="required" value="" class="required" />
		<br />
		
		<label for="message">Message :</label>
		<textarea id="message" name="message" class="required"></textarea>
		<br />
		
		<input type="submit" name="contact_send" value="Enregistrer" />
	</form>	
	
	<div id="contact_message" class="hidden"></div>
	
</div>
